package utils.exceptions;

import utils.json.data.ErrorJSON;


public class IdeonException extends Exception {
	public ErrorJSON errors;
	public IdeonException() {
		super();
	}
	
	public IdeonException(String message) {
		super(message);
	}
	
	public IdeonException(Throwable throwable) {
		super(throwable);
	}
	
	public IdeonException(String message, Throwable throwable) {
		super(message, throwable);
	}
	
	public IdeonException(String message, ErrorJSON errors) {
		this(message);
		
		this.errors = errors;
	}
	
	public ErrorJSON getErrors() {
		return this.errors;
	}
}
